package com.rock.code.datacollconfig.zabbix.dao;

import com.rock.code.base.dao.BaseDao;
import com.rock.code.datacollconfig.zabbix.domain.TbCollResConf;

import java.util.List;
import java.util.Map;

/**
 * @author piandu
 * @description Dao接口
 * @date 2018/9/14 16/34
 */
public interface TbCollResConfDao extends BaseDao<TbCollResConf> {

    List<TbCollResConf> getAllCollResConf(Map map);

    TbCollResConf getAllCollResConfById(String id);

    List<String> getAllCollResIp();

    List<TbCollResConf> queryCustomDataBySql(Map<String, String> map);

    int insert(TbCollResConf tbCollResConf);

    int delete(String ip);

    int update(Map<String, String> map);

    String getPath();

    String getKbpByIp(String ip);

}